﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoCode.SqlServer
{
    /// <summary>
    /// 比较常用的工具类
    /// </summary>
    public class MyUtils
    {
        /// <summary>
        /// 首字母转换成大写
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static string TitleCase(string str)
        {
            return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(str); 
        }
    }
}
